import { WeaTools } from 'ecCom';

export const getEmailRuleList = params => WeaTools.callApi('/api/email/rule/getEmailRuleList', 'GET', params);

export const getEmailRuleCondition = params => WeaTools.callApi('/api/email/rule/getEmailRuleCondition', 'GET', params);

export const operateUserEmailRule = params => WeaTools.callApi('/api/email/rule/operateUserEmailRule', 'POST', params);

export const getUserEmailRuleEntity = params => WeaTools.callApi('/api/email/rule/getUserEmailRuleEntity', 'GET', params);
